package java69.work721;

public class Test extends MyObject {
    public static void main(String[] args) {
//        MyObject myObject = new MyObject();
//        System.out.println(myObject.toString());
        Pet pet1 = new Dog();
        pet1.eat();
        Pet pet2 = new Cat();
        pet2.eat();
    }
}
